<template>
  <div class="main">
    <NavBar title="丰扬分销信息有限公司"></NavBar>
    <div class="toper ub">
      <div class="item ub ub-ac ub-ver">
        <div class="itemTit">110</div>
        <div class="itemTxt">今日拜访</div>
      </div>
      <div class="item ub ub-ac ub-ver" style="margin-left:22rpx">
        <div class="itemTit">￥1000</div>
        <div class="itemTxt">今日销售</div>
      </div>
      <div class="item ub ub-ac ub-ver" style="margin-top:22rpx">
        <div class="itemTit">￥1000</div>
        <div class="itemTxt">今日收款</div>
      </div>
      <div class="item ub ub-ac ub-ver" style="margin-left:22rpx;margin-top:22rpx">
        <div class="itemTit">0/10000</div>
        <div class="itemTxt">今日赊销/本人累计</div>
      </div>
    </div>
    <div class="tit">我的业务</div>
    <div class="menus ub">
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/moveconfirm')">
        <image src="../../static/assets/1.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">移库确认</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/signin')">
        <image src="../../static/assets/3.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">签到</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/takephoto')">
        <image src="../../static/assets/4.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">盘店拍照</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/signout')">
        <image src="../../static/assets/3.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">签退</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/saleorder')">
        <image src="../../static/assets/6.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">销售订单</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/sale')">
        <image src="../../static/assets/7.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">销售单</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/presale')">
        <image src="../../static/assets/8.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">预收单</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/receipt')">
        <image src="../../static/assets/9.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">收款单</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/movement')">
        <image src="../../static/assets/10.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">移库单</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/return')">
        <image src="../../static/assets/11.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">退货申请</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/deliver')">
        <image src="../../static/assets/12.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">配送单</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/everytotal')">
        <image src="../../static/assets/13.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">日结单</div>
      </div>
      <div class="item ub-ver ub ub-ac ub-pc" @click="toPage('/pages/bill/dataupload')">
        <image src="../../static/assets/14.png" class="icon_menu" mode="aspectFit"></image>
        <div class="menuTit">数据上传</div>
      </div>
    </div>
  </div>
</template>
<script>
import service from '@/utils/http'
import constant from '@/utils/constant'
import { errDialog, loading, toPage } from '@/utils/util'
export default {
  data() {
    return {
      address: '',
      isAuth: false,
      userInfo: {},
      staticData: {},
      userId: '',
      toPage,
    }
  },
  onShareAppMessage: function () {
    return {
      title: '丰扬销售助手',
      path: `/pages/user/login`
    }
  },
  methods: {
    getData() {
      service.get('/app/staticData').then(res => {
        this.staticData = res.data
      })
    }
  }
}
</script>
<style scoped>
.main { position: relative; width: 100%; height: 100%; background: #fff;}
.toper {padding: 20rpx 30rpx 30rpx; position: relative; background: #3387FF;flex-wrap: wrap; }
.toper .item{ width: 334rpx; height: 140rpx; border-radius: 12rpx; padding: 20rpx; background: #fff; box-sizing:border-box}
.itemTit{font-size: 36rpx; color: #0469F7;}
.itemTxt{font-size: 28rpx; color: #888;}
.tit{font-size: 32rpx;font-weight: bold;color: #333;text-align: center;padding-top:20rpx;padding-bottom: 20rpx;}
.menus{ width: 100%;background: #fff;flex-wrap: wrap;border-top:1rpx #f1f1f1 solid;}
.menus .item{ width: 187.5rpx;height: 180rpx;background: #fff;border-bottom:1rpx #f1f1f1 solid; border-right:1rpx #f1f1f1 solid;}
.icon_menu{ display: block; width: 80rpx; height: 56rpx;}
.menuTit{ font-size: 24rpx;margin-top:10rpx}
.menus .item:nth-child(4n+0) { border-right:none;}
</style>